<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/sys-tags" prefix="sys" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><s:text name="title_homePage"></s:text></title>
<%@ include file="header.jsp"%>
<link href="${appPath}/css/nav.css"rel="stylesheet" type="text/css" />
<link href="${appPath}/css/goodInfo.css"rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${appPath}/js/goodInfo.js"></script>
</head>
<body>
<%@ include file="nav.jsp" %>
<div  id="topcontent" >
<div id="log"><s:text name="tiltle_hotGoods"></s:text></div>
<s:if test="#session.user!=null">
<div id="login">
<a href="${appPath}/webgoods/logOut.action" id="logOut"><s:text name="label_loginWord3"></s:text></a>
<a href="${appPath}/webcom/updateUserInit.action?userid=<s:property value="#session.user.user_id"/>" id="a1"><s:text name="label_loginWord2"></s:text><s:property value="#session.user.email"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
</div>
</s:if>
<s:else>
<div id="login">
<a href="${appPath}/webcom/doInit.action" id="registerButton"><s:text name="label_loginWord4"></s:text></a>
<a href="${appPath}/view/common/login.jsp" id="a1"><s:text name="label_loginWord1"></s:text>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </a>
</div>
</s:else>
</div>
<div id="" class="content"> 

<div id="titleInfo" class="font2" ><s:text name="label_goodInfo"></s:text>
<hr width="860px">
</div>
<form action="">
<table>
<tr>
<td width="240px" align="center" height="80px" class="font1"><s:text name="label_goodsId"></s:text></td>
<td width="240px" align="center"><s:property value="%{goodsInfoDto.goods_id}"/></td>
<td width="240px" align="center" class="font1"><s:text name="label_goodsName"></s:text></td>
<td width="240px" align="center"><s:property value="%{goodsInfoDto.name}"/></td>
</tr>

<tr>
<td width="240px" align="center" height="80px" class="font1"><s:text name="label_goodsArea"></s:text></td>
<td width="240px" align="center"><s:property value="goodsInfoDto.area_name"/></td>
<td width="240px" align="center" class="font1"><s:text name="label_goodsPrice"></s:text></td>
<td width="240px" align="center"><s:property value="goodsInfoDto.price"/></td>
</tr>
<tr>
<td width="240px" align="center" height="80px" class="font1"><s:text name="label_goodImage"></s:text>
</td>
<td  align="left" colspan="3"><sys:image imagePath="/${goodsInfoDto.goods_img}"></sys:image></td>
</tr>
<tr>
<td width="240px" align="center" height="80px" class="font1"><s:text name="label_goodDescriptionx"></s:text></td>
<td align="left" colspan="3"  width="720px">
<s:property value="goodsInfoDto.descriptionx"/>
</tr>
<tr>
<td  align="center" height="80px" class="font1" colspan="4">
<s:if test="#session.user.user_id==goodsInfoDto.user_id">

<input type="button" value="<s:text name="label_modify"></s:text>" class="button1" id="modifyGoods"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</s:if>
<input type="button" value="<s:text name="label_backButton"></s:text>" class="button1" id="backIndexPage"/>
</td>
</tr>
</table>
</form>
</div>
<p style="height: 10px"></p>
</body>
</html>